
<!DOCTYPE html>
<html>
<head>
	<title>确认订单</title>
	<meta name="keywords" content="" />
	<meta name="description" content="" />
	<meta name="viewport" content="width=device-width,user-scalable=no" />
	<meta http-equiv="content-type" content="text/html;charset=utf-8" />
	<link rel="stylesheet" type="text/css" href="<?php echo $this->config->item('public_url');?>/css/common.css">
	<link rel="stylesheet" type="text/css" href="<?php echo $this->config->item('public_url');?>/css/confirm_order_detail.css"></head>
<body>
	<!-- <div class="header">
		<div class="back">
			<a href=""></a>
		</div>
		确认订单
	</div> -->
	<div class="order_content">
		<div class="order_address">
			<a href="javascript:;">
				<!-- <span class="add">请填写收货地址</span> -->
                <?php if (!empty($address)){if($address['address_id'] != 0){?>
                    <div class="name_tel">
                    <span class="name"><?php echo $address['name']?></span>
                    <span class="tel"><?php echo $address['tel']?></span>
                    </div>
                    <div class="ads">
                    <span class="address" data-address="<?php echo $address['address_id']?>"><?php echo $address['province']; echo $address['city']; echo $address['address'];?></span>
                    </div>
                    
               <?php }}else {?>
				<span class="add">请填写收货地址</span>
               <?php }?>
				<img src="<?php echo $this->config->item('public_url');?>/images/info.png" class="right_info" alt="">
	       </a>
		</div>
	</div>
	<div class="order_list">
		<ul>
			<li>
		
				<div class="order_proimg">
					<img src="<?php echo $product['thumb_img']?>" alt=""></div>
				<div class="order_des">
					<div class="order_protitle">
						<?php echo $product['title']?>
						<p class="order_protitle_money">
							<img src="<?php echo $this->config->item('public_url');?>/images/4_19.png" alt=""><?php echo $product['npoint']?></p>
					</div>
					<div class="order_color">
						<span><?php echo $product['attr']['attr_name']?></span>
						<p class="order_number">x<?php echo $product['num']?></p>
					</div>
				</div>
			</li>
		</ul>
	</div>
	<div class="orider_all">
		<div class="orider_all_li">
			商品合计
			<p class="order_protitle_money">
				<img src="<?php echo $this->config->item('public_url');?>/images/4_19.png" alt=""><?php echo $product['total_npoint']?></p>
		</div>
		<div  class="orider_all_li">
			运费
			<p class="order_yunfei">免运费</p>
		</div>
		<div  class="orider_all_li">
			总价
			<p class="order_protitle_money order_protitle_allmoney">
				<img src="<?php echo $this->config->item('public_url');?>/images/4_19.png" alt=""><?php echo $product['total_npoint']?></p>
		</div>
	</div>
	<div class="footer duihuan">立即兑换</div>
	<script type="text/javascript" src="<?php echo $this->config->item('public_url');?>/js/jquery-3.2.1.min.js"></script>
	<script type="text/javascript">
		var url = "<?= site_url('Npoint_store/Order/order')?>";
		var addressurl = "<?= site_url('Npoint_store/Address/address_lst')?>";
		var order_detail_url = "<?= site_url('Npoint_store/Order/order_detail')?>";		
	</script>
	<script type="text/javascript" src="<?php echo $this->config->item('public_url');?>/js/common.js"></script>
	<script type="text/javascript" src="<?php echo $this->config->item('public_url');?>/js/cookie.js"></script>
	<script type="text/javascript" src="<?php echo $this->config->item('public_url');?>/js/confirm_order_detail_new.js"></script>
</body>
</html>